﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
    <title>Scrolling Text</title>
    <script type="text/javascript">
        function StartTimer() {
            setInterval('MoveText()', 1000);
            MoveText();
        }

        var height = -20;
        function MoveText() {
            var container = document.getElementById("scrolling");
            height += 20;
            height = height % 280;
            container.scrollTop = height;
        }
    </script>
</head>
<body onload="StartTimer()">

    <div id="scrolling" style="overflow:hidden;width:190px;height:100px">
        1.Look at me goooooo! :) 2.Look at me goooooo! :) 3.Look at me goooooo! :) 4.Look at me goooooo! :) 5.Look at me goooooo! :) 6.Look at me goooooo! :) 7.Look at me goooooo! :) 8.Look at me goooooo! :) 9.Look at me goooooo! :) 10.Look at me goooooo! :) 11.Look at me goooooo! :) 12.Look at me goooooo! :) 13.Look at me goooooo! :) 14.Look at me goooooo! :) 15.Look at me goooooo! :) 16.Look at me goooooo! :) 17.Look at me goooooo! :) 18.Look at me goooooo! :) 
    </div>
</body>
</html>
